package com.crm.service;

import java.util.List;

import com.crm.dao.UserDao;
import com.crm.entity.User;

public class UserService {
	private UserDao userDao;
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	public User login(User user) {
		return userDao.login(user);
	}
	public List<User> findAllUser() {
		return userDao.findAllUser();
	}

}
